$OpenBSD: patch-ECtools_monitor_zarafa-monitor_cpp,v 1.2 2016/04/20 18:38:41 robert Exp $
--- ECtools/monitor/zarafa-monitor.cpp.orig	Wed Apr 20 13:13:54 2016
+++ ECtools/monitor/zarafa-monitor.cpp	Wed Apr 20 19:54:13 2016
@@ -161,10 +161,10 @@ int main(int argc, char *argv[]) {
 		{ "smtp_server","localhost" },
 		{ "server_socket", "default:" },
 #ifdef LINUX
-		{ "run_as_user", "zarafa" },
-		{ "run_as_group", "zarafa" },
+		{ "run_as_user", "_zarafa" },
+		{ "run_as_group", "_zarafa" },
 		{ "pid_file", "/var/run/zarafad/monitor.pid" },
-		{ "running_path", "/var/lib/zarafa" },
+		{ "running_path", "/var/empty" },
 #endif		
 		{ "log_method","file" },
 #ifdef LINUX
@@ -205,8 +205,10 @@ int main(int argc, char *argv[]) {
 		{ NULL, 0, NULL, 0 }
 	};
 
+#ifndef __OpenBSD__
 	if (!forceUTF8Locale(true))
 		goto exit;
+#endif
 
 	while(1) {
 		c = my_getopt_long_permissive(argc, argv, "c:h:iuFV", long_options, NULL);
